package com.house.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 房屋类
 * @author Administrator
 *
 */
public class House {
	/**
	 * 房屋id
	 */
	private int id;
	/**
	 * 用户
	 */
	private User user;
	/**
	 * 房屋类型
	 */
	private Type type;
	/**
	 * 街道
	 */
	private Street street;
	/**
	 * 面积
	 */
	private int floor;
	/**
	 * 价格
	 */
	private double price;
	/**
	 * 更新时间
	 */
	private Date updateTime;
	/**
	 * 主题
	 */
	private String topic;
	/**
	 * 详情
	 */
	private String content;
	/**
	 * 经度
	 */
	private BigDecimal longitude;
	/**
	 * 纬度
	 */
	private BigDecimal latitude;
	/**
	 * 房屋状态，1正常，0下架
	 */
	private int state;	
	/**
	 * 房屋照片
	 */
	private Photo photo;
	/**
	 * 地区
	 */
	private District district;
	
	public District getDistrict() {
		return district;
	}
	public void setDistrict(District district) {
		this.district = district;
	}
	public Photo getPhoto() {
		return photo;
	}
	public void setPhoto(Photo photo) {
		this.photo = photo;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Type getType() {
		return type;
	}
	public void setType(Type type) {
		this.type = type;
	}
	public Street getStreet() {
		return street;
	}
	public void setStreet(Street street) {
		this.street = street;
	}
	public int getFloor() {
		return floor;
	}
	public void setFloor(int floor) {
		this.floor = floor;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getTopic() {
		return topic;
	}
	public void setTopic(String topic) {
		this.topic = topic;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public BigDecimal getLongitude() {
		return longitude;
	}
	public void setLongitude(BigDecimal longitude) {
		this.longitude = longitude;
	}
	public BigDecimal getLatitude() {
		return latitude;
	}
	public void setLatitude(BigDecimal latitude) {
		this.latitude = latitude;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	
}
